package com.carkeeper.order.pojo;

import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "tb_service_order_detail")
public class OrderDetail {
    @Id
    private String id;
    private String orderId; //订单id
    private String serviceCode; //服务项目编码
    private String serviceName;  //服务项目名称
    private int price;//服务价格

    public OrderDetail(String id, String orderId, String serviceCode, String serviceName, int price) {
        this.id = id;
        this.orderId = orderId;
        this.serviceCode = serviceCode;
        this.serviceName = serviceName;
        this.price = price;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getServiceCode() {
        return serviceCode;
    }

    public void setServiceCode(String serviceCode) {
        this.serviceCode = serviceCode;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public OrderDetail() {
    }
}
